package com.bank.backend.boot.server.converter;


import com.bank.backend.boot.base.model.entity.BankUser;
import com.bank.backend.boot.base.model.vo.BankUserVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 转换器
 *
 * @author jiaowei
 * @since 2025/3/24 21:30
 */
@Mapper(componentModel = "spring")
public interface BankUserConverter {
    BankUserConverter INSTANCE = Mappers.getMapper(BankUserConverter.class);

    BankUserVO convert(BankUser bankUser);
}
